package com.danskin.wechat.service;

import java.util.List;

import com.danskin.wechat.entity.ProductGroupon;
import com.danskin.wechat.entity.ProductInfo;
import com.danskin.wechat.util.Page;

public interface ProductInfoService {

	List<ProductInfo> findProductInfoList(Page page,String type);

	void saveProductInfoModel(ProductInfo productInfo,String type);

	void deleteProductInfo(String id);

	void updateProductInfo(ProductInfo productInfo,String type);

	ProductInfo findProductInfobyId(String id);

	List<ProductInfo> queryProductInfoListApi(String appId, String name);

	List<ProductInfo> findProductInfoListAPI(String appId, String openId);

	List<ProductInfo> searchProductInfoList(Page page, String integral,String title);

	ProductInfo getProductInfoDetail(String appId, String openId, String id);

	List<ProductInfo> findProductInfoListType(String appId, String openId,String type);

	List<ProductInfo> queryProductInfoByModelId(List<Integer> listOrd);

	List<ProductInfo> findProductInfoByModel(int id);

	List<ProductInfo> queryProductInfoClassify(Page page, String type, String ordertype,String reorder);

	List<ProductInfo> queryProductInfoHotList(String appId, int num);

	List<ProductInfo> queryProductInfoBySku(String sku,String type);

	List<ProductInfo> queryProductInfoByModle(List<Integer> listId);

	ProductInfo queryProductInfoDetailed(String appId, String id);

	List<ProductInfo> queryProductInfoType(int id);

	List<ProductInfo> queryProductInfoBySort(String sort, int mpId);

}
